const evevlists = require("../sql/evenlist")
const sql = require('../sql/mysql');
const jwt = require("jsonwebtoken");

module.exports = (req,res)=>{
    sql.add(evevlists,req.fields).then(()=>{
        res.send({
            code:0,
            msg:"添加成功"
        })
    })
    
    
}
// { from: '的撒就发卡蝙蝠', name: '啊师傅赛季' }

// req.fields